<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0042)http://localhost/wodig/admin/Admin_Top.asp -->
<HTML><HEAD><TITLE>后台管理</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="/css/admin.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TBODY>
  <TR>
    <TD class=headBg>
      <TABLE height=30 cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="30%">&nbsp;</TD>
          <TD width="70%">
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD width="82%" class=ueserName><?=$this->session->userdata('truename');?>,欢迎回来&nbsp;&nbsp;
				<?php
				$unread = intval($rs['unread']);
				if($unread>0):
				?>
				<a href="<?=site_url('users/email');?>" target="_blank">您有<strong><?=$unread;?></strong>封新邮件,</a>
				<?php
				endif;
				?>
				</TD>
              <TD width="18%"><span class="topA">
			 
			  <A 
                  href="<?=site_url('')?>" 
                  target="_blank">网站首页</A>&nbsp;|&nbsp;<A 
                  href="<?=site_url('users/logout')?>?redirect=<?=urlencode(site_url('admin/login'))?>" 
                  target=_top>退出管理</A></span></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
<?php
$this->lang->load('template');
//$url = "http://mail.gxjcc.com/extman/cgi/api.php?client_pass=sdfsdflk3425fdsfLHGGFRE&action=read";
$param = array(
	'username' =>$this->session->userdata('username')
);
$content = do_post($url,$param);
$rs = xml_unserialize($content);
$rs = $rs['root'];
?>